package unit2.question;
import java.io.Serializable;

/**
 * Class for common type of question
 * @author Nick
 *
 */
public class Question  implements Serializable{
	private static final long serialVersionUID = -5262255296999968944L;
	private String question;
	private String answer;
	private final int scoreOfQuestion=10;
	
	public Question(String question, String answer){
		this.question=question;
		this.answer=answer;
	}

	public String getQuestion(){
		return question;
	}

	public String getAnswer(){
		return answer;
	}

	public int getScore() {
		return this.scoreOfQuestion;
	}	
} 





